package com.erpoa.service;

import com.erpoa.entity.PackMessage;
import com.erpoa.entity.RecMatEntity;

import java.util.List;

/**
 * @author chenjimin
 * @Title: MaterialtransferService
 * @ProjectName oaerp
 * @Description: TODO
 * @date 2020/9/1015:41
 */
public interface MaterialtransferService {
    /**
     * @param packMessage
     * @param type
     * @return
     */
    List<RecMatEntity> functionGetOrderPlan(PackMessage packMessage, int type);

    /**
     * @param packMessage
     * @return
     */
    void functionSubRecMat(PackMessage packMessage);

    /**
     * @param recMatEntity
     * @param type
     * @return
     */
    List<Double> getErpMargin(RecMatEntity recMatEntity, String type);

    /**
     * @param fOrderNo
     * @return
     */
    boolean getOrderStatus(String fOrderNo);

    /**
     * @param packMessage
     * @return
     */
    RecMatEntity functionGetQty(PackMessage packMessage);
}
